home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Demos / A.D. Software / OOFILE 1.3b4d6.sit / OOFILE 1.3b4d6 / MacCodeWarriorDemo1.3b4d6 / docs / samples / ooftst25.cpp < prev    next >
MacBinary  |  1997-04-03  |  3.4 KB  |  [TEXT/CWIE]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, Wed Apr 2 19:30:58 1997, modified Wed Apr 2 19:30:58 1997, creator 'CWIE', type ASCII, 2755 bytes "ooftst25.cpp" , at 0xb43 410 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[CWIE]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0c 6f 6f 66 74 73 74 | 32 35 2e 63 70 70 00 00 |..ooftst|25.cpp..|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 43 57 49 | 45 00 00 00 00 00 00 00 |.TEXTCWI|E.......|
|00000050| 00 00 00 00 00 0a c3 00 | 00 01 9a af 68 aa c2 af |........|....h...|
|00000060| 68 aa c2 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |h.......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 5e 69 00 00 |........|....^i..|
|00000080| 2f 2f 20 43 6f 70 79 72 | 69 67 68 74 20 31 39 39 |// Copyr|ight 199|
|00000090| 36 20 41 2e 44 2e 20 53 | 6f 66 74 77 61 72 65 2e |6 A.D. S|oftware.|
|000000a0| 20 41 6c 6c 20 52 69 67 | 68 74 73 20 52 65 73 65 | All Rig|hts Rese|
|000000b0| 72 76 65 64 0d 0d 2f 2f | 20 4f 4f 46 54 45 53 54 |rved..//| OOFTEST|
|000000c0| 32 35 0d 0d 2f 2f 20 54 | 68 69 73 20 73 61 6d 70 |25..// T|his samp|
|000000d0| 6c 65 20 74 65 73 74 73 | 20 74 68 65 20 64 61 74 |le tests| the dat|
|000000e0| 61 62 61 73 65 20 52 41 | 4d 20 62 61 63 6b 65 6e |abase RA|M backen|
|000000f0| 64 20 62 79 20 63 72 65 | 61 74 69 6e 67 20 61 20 |d by cre|ating a |
|00000100| 73 69 6e 67 6c 65 20 74 | 61 62 6c 65 0d 2f 2f 20 |single t|able.// |
|00000110| 73 69 6d 69 6c 61 72 6c | 79 20 74 6f 20 61 20 63 |similarl|y to a c|
|00000120| 74 72 65 65 20 74 61 62 | 6c 65 2e 0d 0d 2f 2f 20 |tree tab|le...// |
|00000130| 53 69 6d 70 6c 65 20 73 | 74 72 65 61 6d 20 49 2f |Simple s|tream I/|
|00000140| 4f 20 69 73 20 75 73 65 | 64 20 74 6f 20 69 6e 74 |O is use|d to int|
|00000150| 65 72 61 63 74 20 77 69 | 74 68 20 74 68 65 20 75 |eract wi|th the u|
|00000160| 73 65 72 2e 0d 0d 23 69 | 6e 63 6c 75 64 65 20 22 |ser...#i|nclude "|
|00000170| 6f 6f 66 69 6c 65 2e 68 | 22 0d 23 69 6e 63 6c 75 |oofile.h|".#inclu|
|00000180| 64 65 20 22 6f 6f 66 74 | 73 74 30 31 2e 68 22 0d |de "ooft|st01.h".|
|00000190| 0d 09 44 45 43 4c 41 52 | 45 5f 43 4c 41 53 53 28 |..DECLAR|E_CLASS(|
|000001a0| 6c 69 74 74 6c 65 44 42 | 29 0d 09 09 64 62 43 68 |littleDB|)...dbCh|
|000001b0| 61 72 09 66 31 3b 0d 09 | 09 64 62 4c 6f 6e 67 09 |ar.f1;..|.dbLong.|
|000001c0| 66 32 3b 0d 09 09 6c 69 | 74 74 6c 65 44 42 28 29 |f2;...li|ttleDB()|
|000001d0| 20 3a 0d 09 09 09 66 31 | 28 38 30 2c 20 22 66 31 | :....f1|(80, "f1|
|000001e0| 22 29 2c 0d 09 09 09 66 | 32 28 22 66 32 22 29 0d |"),....f|2("f2").|
|000001f0| 09 09 7b 7d 3b 0d 09 7d | 3b 0d 0d 0d 69 6e 74 20 |..{};..}|;...int |
|00000200| 6d 61 69 6e 28 29 0d 7b | 0d 09 63 6f 75 74 20 3c |main().{|..cout <|
|00000210| 3c 20 22 4f 4f 46 49 4c | 45 20 56 61 6c 69 64 61 |< "OOFIL|E Valida|
|00000220| 74 69 6f 6e 20 53 75 69 | 74 65 20 2d 20 54 65 73 |tion Sui|te - Tes|
|00000230| 74 20 32 35 5c 6e 22 0d | 09 09 20 3c 3c 20 22 53 |t 25\n".|.. << "S|
|00000240| 69 6d 70 6c 65 20 74 65 | 73 74 20 74 6f 20 73 74 |imple te|st to st|
|00000250| 6f 72 65 20 73 6f 6d 65 | 20 64 61 74 61 20 61 6e |ore some| data an|
|00000260| 64 20 72 65 74 72 69 65 | 76 65 20 69 74 5c 6e 22 |d retrie|ve it\n"|
|00000270| 0d 09 09 20 3c 3c 20 22 | 69 6e 20 61 20 73 69 6e |... << "|in a sin|
|00000280| 67 6c 65 2d 74 61 62 6c | 65 20 64 61 74 61 62 61 |gle-tabl|e databa|
|00000290| 73 65 2c 20 61 6e 64 20 | 74 68 65 6e 20 75 73 65 |se, and |then use|
|000002a0| 20 61 20 52 41 4d 2d 62 | 61 73 65 64 20 65 71 75 | a RAM-b|ased equ|
|000002b0| 69 76 61 6c 65 6e 74 5c | 6e 22 3b 0d 09 0d 09 54 |ivalent\|n";....T|
|000002c0| 45 53 54 5f 43 4f 4e 4e | 45 43 54 20 20 20 20 74 |EST_CONN|ECT t|
|000002d0| 68 65 44 42 3b 0d 09 64 | 62 50 65 6f 70 6c 65 20 |heDB;..d|bPeople |
|000002e0| 20 20 20 20 50 65 6f 70 | 6c 65 3b 0d 0d 23 69 66 | Peop|le;..#if|
|000002f0| 64 65 66 20 54 45 53 54 | 49 4e 47 5f 43 54 52 45 |def TEST|ING_CTRE|
|00000300| 45 0d 2f 2f 20 77 65 20 | 63 61 6e 20 75 73 65 20 |E.// we |can use |
|00000310| 73 65 70 61 72 61 74 65 | 20 66 69 6c 65 73 2c 20 |separate| files, |
|00000320| 6f 72 20 61 20 73 69 6e | 67 6c 65 20 63 6f 6e 74 |or a sin|gle cont|
|00000330| 61 69 6e 65 72 20 66 69 | 6c 65 0d 2f 2f 20 61 6e |ainer fi|le.// an|
|00000340| 64 20 74 68 69 73 20 73 | 61 6d 70 6c 65 20 75 73 |d this s|ample us|
|00000350| 65 73 20 73 65 70 61 72 | 61 74 65 20 66 69 6c 65 |es separ|ate file|
|00000360| 73 0d 09 74 68 65 44 42 | 2e 75 73 65 53 65 70 61 |s..theDB|.useSepa|
|00000370| 72 61 74 65 46 69 6c 65 | 73 28 29 3b 0d 0d 09 23 |rateFile|s();...#|
|00000380| 69 66 64 65 66 20 5f 4d | 61 63 69 6e 74 6f 73 68 |ifdef _M|acintosh|
|00000390| 0d 2f 2f 20 70 61 74 68 | 20 68 61 6e 64 6c 69 6e |.// path| handlin|
|000003a0| 67 20 6f 6e 6c 79 20 6f | 6e 20 74 68 65 20 4d 61 |g only o|n the Ma|
|000003b0| 63 20 61 74 20 70 72 65 | 73 65 6e 74 0d 09 09 63 |c at pre|sent...c|
|000003c0| 6f 6e 73 74 20 63 68 61 | 72 2a 20 6b 45 78 69 73 |onst cha|r* kExis|
|000003d0| 74 73 4e 61 6d 65 20 3d | 20 20 22 3a 6f 6f 66 74 |tsName =| ":ooft|
|000003e0| 73 74 30 31 3a 50 65 6f | 70 6c 65 2e 64 61 74 22 |st01:Peo|ple.dat"|
|000003f0| 3b 0d 09 09 63 6f 6e 73 | 74 20 63 68 61 72 2a 20 |;...cons|t char* |
|00000400| 6b 44 61 74 61 62 61 73 | 65 4e 61 6d 65 20 3d 20 |kDatabas|eName = |
|00000410| 22 3a 6f 6f 66 74 73 74 | 30 31 3a 22 3b 0d 09 23 |":ooftst|01:";..#|
|00000420| 65 6c 73 65 0d 09 09 63 | 6f 6e 73 74 20 63 68 61 |else...c|onst cha|
|00000430| 72 2a 20 6b 45 78 69 73 | 74 73 4e 61 6d 65 20 3d |r* kExis|tsName =|
|00000440| 20 20 20 22 50 65 6f 70 | 6c 65 2e 64 61 74 22 0d | "Peop|le.dat".|
|00000450| 09 09 63 6f 6e 73 74 20 | 63 68 61 72 2a 20 6b 44 |..const |char* kD|
|00000460| 61 74 61 62 61 73 65 4e | 61 6d 65 20 3d 20 22 22 |atabaseN|ame = ""|
|00000470| 3b 0d 09 23 65 6e 64 69 | 66 09 0d 0d 23 65 6c 73 |;..#endi|f...#els|
|00000480| 65 0d 09 23 69 66 64 65 | 66 20 54 45 53 54 49 4e |e..#ifde|f TESTIN|
|00000490| 47 5f 44 42 41 53 45 0d | 09 09 23 69 66 64 65 66 |G_DBASE.|..#ifdef|
|000004a0| 20 5f 4d 61 63 69 6e 74 | 6f 73 68 0d 09 09 09 63 | _Macint|osh....c|
|000004b0| 6f 6e 73 74 20 63 68 61 | 72 2a 20 6b 45 78 69 73 |onst cha|r* kExis|
|000004c0| 74 73 4e 61 6d 65 20 3d | 20 20 22 3a 6f 6f 66 74 |tsName =| ":ooft|
|000004d0| 73 74 30 31 3a 50 65 6f | 70 6c 65 2e 64 62 66 22 |st01:Peo|ple.dbf"|
|000004e0| 3b 0d 09 09 09 63 6f 6e | 73 74 20 63 68 61 72 2a |;....con|st char*|
|000004f0| 20 6b 44 61 74 61 62 61 | 73 65 4e 61 6d 65 20 3d | kDataba|seName =|
|00000500| 20 22 3a 6f 6f 66 74 73 | 74 30 31 3a 22 3b 0d 09 | ":oofts|t01:";..|
|00000510| 09 23 65 6c 73 65 0d 09 | 09 09 63 6f 6e 73 74 20 |.#else..|..const |
|00000520| 63 68 61 72 2a 20 6b 45 | 78 69 73 74 73 4e 61 6d |char* kE|xistsNam|
|00000530| 65 20 3d 20 20 20 22 50 | 65 6f 70 6c 65 2e 64 62 |e = "P|eople.db|
|00000540| 66 22 0d 09 09 09 63 6f | 6e 73 74 20 63 68 61 72 |f"....co|nst char|
|00000550| 2a 20 6b 44 61 74 61 62 | 61 73 65 4e 61 6d 65 20 |* kDatab|aseName |
|00000560| 3d 20 22 22 3b 0d 09 09 | 23 65 6e 64 69 66 09 0d |= "";...|#endif..|
|00000570| 0d 09 23 65 6c 73 65 0d | 09 09 2f 2f 20 50 65 72 |..#else.|..// Per|
|00000580| 73 69 73 74 65 6e 74 20 | 52 41 4d 2c 20 6e 6f 20 |sistent |RAM, no |
|00000590| 6f 70 74 69 6f 6e 20 6f | 66 20 73 69 6e 67 6c 65 |option o|f single|
|000005a0| 20 66 69 6c 65 0d 09 09 | 23 69 66 64 65 66 20 5f | file...|#ifdef _|
|000005b0| 4d 61 63 69 6e 74 6f 73 | 68 0d 09 09 09 63 6f 6e |Macintos|h....con|
|000005c0| 73 74 20 63 68 61 72 2a | 20 6b 44 61 74 61 62 61 |st char*| kDataba|
|000005d0| 73 65 4e 61 6d 65 20 3d | 20 22 3a 6f 6f 66 74 73 |seName =| ":oofts|
|000005e0| 74 30 31 3a 6f 6f 66 74 | 73 74 30 31 2e 64 62 22 |t01:ooft|st01.db"|
|000005f0| 3b 0d 09 09 23 65 6c 73 | 65 0d 09 09 09 63 6f 6e |;...#els|e....con|
|00000600| 73 74 20 63 68 61 72 2a | 20 6b 44 61 74 61 62 61 |st char*| kDataba|
|00000610| 73 65 4e 61 6d 65 20 3d | 20 22 6f 6f 66 74 73 74 |seName =| "ooftst|
|00000620| 30 31 2e 64 62 22 3b 0d | 09 09 23 65 6e 64 69 66 |01.db";.|..#endif|
|00000630| 09 0d 09 09 63 6f 6e 73 | 74 20 63 68 61 72 2a 20 |....cons|t char* |
|00000640| 6b 45 78 69 73 74 73 4e | 61 6d 65 20 3d 20 6b 44 |kExistsN|ame = kD|
|00000650| 61 74 61 62 61 73 65 4e | 61 6d 65 3b 0d 09 23 65 |atabaseN|ame;..#e|
|00000660| 6e 64 69 66 0d 23 65 6e | 64 69 66 0d 0d 09 69 66 |ndif.#en|dif...if|
|00000670| 20 28 64 62 43 6f 6e 6e | 65 63 74 3a 3a 66 69 6c | (dbConn|ect::fil|
|00000680| 65 45 78 69 73 74 73 28 | 6b 45 78 69 73 74 73 4e |eExists(|kExistsN|
|00000690| 61 6d 65 29 29 20 7b 0d | 09 09 74 68 65 44 42 2e |ame)) {.|..theDB.|
|000006a0| 6f 70 65 6e 43 6f 6e 6e | 65 63 74 69 6f 6e 28 6b |openConn|ection(k|
|000006b0| 44 61 74 61 62 61 73 65 | 4e 61 6d 65 29 3b 0d 09 |Database|Name);..|
|000006c0| 09 50 65 6f 70 6c 65 2e | 64 65 6c 65 74 65 41 6c |.People.|deleteAl|
|000006d0| 6c 28 29 3b 0d 09 7d 0d | 09 65 6c 73 65 20 7b 0d |l();..}.|.else {.|
|000006e0| 09 09 74 68 65 44 42 2e | 6e 65 77 43 6f 6e 6e 65 |..theDB.|newConne|
|000006f0| 63 74 69 6f 6e 28 6b 44 | 61 74 61 62 61 73 65 4e |ction(kD|atabaseN|
|00000700| 61 6d 65 29 3b 0d 09 7d | 0d 09 50 65 6f 70 6c 65 |ame);..}|..People|
|00000710| 2e 41 64 64 54 65 73 74 | 44 61 74 61 28 29 3b 0d |.AddTest|Data();.|
|00000720| 09 50 65 6f 70 6c 65 2e | 73 65 74 53 6f 72 74 4f |.People.|setSortO|
|00000730| 72 64 65 72 28 50 65 6f | 70 6c 65 2e 4c 61 73 74 |rder(Peo|ple.Last|
|00000740| 4e 61 6d 65 29 3b 0d 09 | 63 6f 75 74 20 3c 3c 20 |Name);..|cout << |
|00000750| 22 4c 69 73 74 69 6e 67 | 20 72 65 63 6f 72 64 73 |"Listing| records|
|00000760| 5c 6e 22 20 3c 3c 20 50 | 65 6f 70 6c 65 20 3c 3c |\n" << P|eople <<|
|00000770| 20 65 6e 64 6c 3b 0d 09 | 0d 2f 2f 20 73 61 6d 65 | endl;..|.// same|
|00000780| 20 61 73 20 6f 6f 66 74 | 73 74 30 31 20 75 70 20 | as ooft|st01 up |
|00000790| 74 6f 20 68 65 72 65 09 | 0d 0d 09 64 62 43 6f 6e |to here.|...dbCon|
|000007a0| 6e 65 63 74 5f 72 61 6d | 09 74 65 6d 70 44 42 3b |nect_ram|.tempDB;|
|000007b0| 0d 09 6c 69 74 74 6c 65 | 44 42 20 73 69 6d 70 6c |..little|DB simpl|
|000007c0| 65 52 41 4d 74 61 62 6c | 65 3b 0d 09 74 65 6d 70 |eRAMtabl|e;..temp|
|000007d0| 44 42 2e 6e 65 77 43 6f | 6e 6e 65 63 74 69 6f 6e |DB.newCo|nnection|
|000007e0| 28 29 3b 09 2f 2f 20 6d | 61 6b 65 20 74 68 65 20 |();.// m|ake the |
|000007f0| 64 61 74 61 62 61 73 65 | 20 69 6e 20 52 41 4d 0d |database| in RAM.|
|00000800| 09 0d 09 73 69 6d 70 6c | 65 52 41 4d 74 61 62 6c |...simpl|eRAMtabl|
|00000810| 65 2e 6e 65 77 52 65 63 | 6f 72 64 28 29 3b 0d 09 |e.newRec|ord();..|
|00000820| 73 69 6d 70 6c 65 52 41 | 4d 74 61 62 6c 65 2e 66 |simpleRA|Mtable.f|
|00000830| 31 20 3d 20 22 41 6e 64 | 79 20 44 65 6e 74 22 3b |1 = "And|y Dent";|
|00000840| 0d 09 73 69 6d 70 6c 65 | 52 41 4d 74 61 62 6c 65 |..simple|RAMtable|
|00000850| 2e 66 32 20 3d 20 39 39 | 3b 0d 09 73 69 6d 70 6c |.f2 = 99|;..simpl|
|00000860| 65 52 41 4d 74 61 62 6c | 65 2e 73 61 76 65 52 65 |eRAMtabl|e.saveRe|
|00000870| 63 6f 72 64 28 29 3b 0d | 09 73 69 6d 70 6c 65 52 |cord();.|.simpleR|
|00000880| 41 4d 74 61 62 6c 65 2e | 6e 65 77 52 65 63 6f 72 |AMtable.|newRecor|
|00000890| 64 28 29 3b 0d 09 73 69 | 6d 70 6c 65 52 41 4d 74 |d();..si|mpleRAMt|
|000008a0| 61 62 6c 65 2e 66 31 20 | 3d 20 22 54 72 69 73 73 |able.f1 |= "Triss|
|000008b0| 61 20 44 65 6e 74 22 3b | 0d 09 73 69 6d 70 6c 65 |a Dent";|..simple|
|000008c0| 52 41 4d 74 61 62 6c 65 | 2e 66 32 20 3d 20 31 30 |RAMtable|.f2 = 10|
|000008d0| 30 3b 0d 09 73 69 6d 70 | 6c 65 52 41 4d 74 61 62 |0;..simp|leRAMtab|
|000008e0| 6c 65 2e 73 61 76 65 52 | 65 63 6f 72 64 28 29 3b |le.saveR|ecord();|
|000008f0| 0d 09 0d 09 63 6f 75 74 | 20 3c 3c 20 22 4c 69 73 |....cout| << "Lis|
|00000900| 74 69 6e 67 20 73 69 6d | 70 6c 65 20 74 61 62 6c |ting sim|ple tabl|
|00000910| 65 5c 6e 22 20 3c 3c 20 | 73 69 6d 70 6c 65 52 41 |e\n" << |simpleRA|
|00000920| 4d 74 61 62 6c 65 20 3c | 3c 20 65 6e 64 6c 3b 0d |Mtable <|< endl;.|
|00000930| 0d 09 63 6f 75 74 20 3c | 3c 20 22 44 65 66 69 6e |..cout <|< "Defin|
|00000940| 69 6e 67 20 61 20 74 61 | 62 6c 65 20 69 6e 20 52 |ing a ta|ble in R|
|00000950| 41 4d 20 66 72 6f 6d 20 | 61 6e 20 65 78 69 73 74 |AM from |an exist|
|00000960| 69 6e 67 20 63 74 72 65 | 65 20 74 61 62 6c 65 5c |ing ctre|e table\|
|00000970| 6e 22 3b 0d 09 0d 09 64 | 62 50 65 6f 70 6c 65 2a |n";....d|bPeople*|
|00000980| 20 50 52 20 3d 20 50 65 | 6f 70 6c 65 2e 63 6c 6f | PR = Pe|ople.clo|
|00000990| 6e 65 45 6d 70 74 79 49 | 6e 52 41 4d 28 29 3b 0d |neEmptyI|nRAM();.|
|000009a0| 09 63 6f 75 74 20 3c 3c | 20 22 4c 69 73 74 69 6e |.cout <<| "Listin|
|000009b0| 67 20 65 6d 70 74 79 20 | 74 61 62 6c 65 20 69 6e |g empty |table in|
|000009c0| 20 52 41 4d 5c 6e 22 20 | 3c 3c 20 50 52 20 3c 3c | RAM\n" |<< PR <<|
|000009d0| 20 65 6e 64 6c 3b 0d 09 | 50 52 2d 3e 41 64 64 54 | endl;..|PR->AddT|
|000009e0| 65 73 74 44 61 74 61 28 | 29 3b 09 2f 2f 20 59 65 |estData(|);.// Ye|
|000009f0| 70 2c 20 77 65 20 6a 75 | 73 74 20 63 61 6c 6c 20 |p, we ju|st call |
|00000a00| 74 68 65 20 73 61 6d 65 | 20 6d 65 74 68 6f 64 20 |the same| method |
|00000a10| 61 73 20 74 68 65 20 63 | 2d 74 72 65 65 20 74 61 |as the c|-tree ta|
|00000a20| 62 6c 65 21 0d 09 63 6f | 75 74 20 3c 3c 20 22 4c |ble!..co|ut << "L|
|00000a30| 69 73 74 69 6e 67 20 70 | 6f 70 75 6c 61 74 65 64 |isting p|opulated|
|00000a40| 20 74 61 62 6c 65 20 69 | 6e 20 52 41 4d 5c 6e 22 | table i|n RAM\n"|
|00000a50| 20 3c 3c 20 50 52 20 3c | 3c 20 65 6e 64 6c 3b 0d | << PR <|< endl;.|
|00000a60| 09 64 65 6c 65 74 65 20 | 50 52 3b 0d 0d 2f 2f 20 |.delete |PR;..// |
|00000a70| 6e 6f 77 20 63 72 65 61 | 74 65 20 61 6e 64 20 70 |now crea|te and p|
|00000a80| 6f 70 75 6c 61 74 65 20 | 69 6e 20 6f 6e 65 20 68 |opulate |in one h|
|00000a90| 69 74 09 0d 09 64 62 50 | 65 6f 70 6c 65 2a 20 50 |it...dbP|eople* P|
|00000aa0| 52 32 20 3d 20 50 65 6f | 70 6c 65 2e 63 6c 6f 6e |R2 = Peo|ple.clon|
|00000ab0| 65 49 6e 52 41 4d 28 29 | 3b 0d 09 63 6f 75 74 20 |eInRAM()|;..cout |
|00000ac0| 3c 3c 20 22 4c 69 73 74 | 69 6e 67 20 70 6f 70 75 |<< "List|ing popu|
|00000ad0| 6c 61 74 65 64 20 74 61 | 62 6c 65 20 69 6e 20 52 |lated ta|ble in R|
|00000ae0| 41 4d 5c 6e 22 20 3c 3c | 20 50 52 32 20 3c 3c 20 |AM\n" <<| PR2 << |
|00000af0| 65 6e 64 6c 3b 0d 09 64 | 65 6c 65 74 65 20 50 52 |endl;..d|elete PR|
|00000b00| 32 3b 0d 0d 09 63 6f 75 | 74 20 3c 3c 20 22 54 65 |2;...cou|t << "Te|
|00000b10| 73 74 20 43 6f 6d 70 6c | 65 74 65 64 22 20 3c 3c |st Compl|eted" <<|
|00000b20| 20 65 6e 64 6c 3b 0d 09 | 09 0d 09 72 65 74 75 72 | endl;..|...retur|
|00000b30| 6e 20 45 58 49 54 5f 53 | 55 43 43 45 53 53 3b 0d |n EXIT_S|UCCESS;.|
|00000b40| 7d 20 0d 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |} ......|........|
|00000b50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b80| 00 00 01 00 00 00 01 54 | 00 00 00 54 00 00 00 46 |.......T|...T...F|
|00000b90| 4c 69 74 65 20 33 2e 35 | 74 6f 72 aa 20 32 2e 30 |Lite 3.5|tor. 2.0|
|00000ba0| 31 20 33 2e 30 2e 34 00 | 00 00 00 02 00 00 04 b7 |1 3.0.4.|........|
|00000bb0| 0c 6f 6f 66 74 73 74 32 | 35 2e 63 70 70 32 02 00 |.ooftst2|5.cpp2..|
|00000bc0| 00 00 50 61 72 74 53 49 | 54 21 00 00 00 00 00 00 |..PartSI|T!......|
|00000bd0| 00 00 50 61 72 74 53 49 | 54 21 00 00 00 00 00 00 |..PartSI|T!......|
|00000be0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000bf0| 00 00 b0 1b 76 00 00 00 | 00 00 00 00 01 9a 00 00 |....v...|........|
|00000c00| 00 00 00 01 00 00 14 be | ac 34 04 63 08 4f 4f 46 |........|.4.c.OOF|
|00000c10| 20 54 65 73 74 6e 65 74 | 20 32 2e 36 20 57 61 72 | Testnet| 2.6 War|
|00000c20| 72 69 6f 72 20 45 72 72 | 6f 72 73 29 00 00 00 04 |rior Err|ors)....|
|00000c30| 00 00 c6 c5 ad 7b 07 f0 | 13 52 45 49 57 41 70 72 |.....{..|.REIWApr|
|00000c40| 69 6e 74 20 39 35 2f 30 | 37 2f 32 34 00 00 00 00 |int 95/0|7/24....|
|00000c50| 00 00 00 00 00 00 00 00 | 00 00 00 03 00 00 09 b5 |........|........|
|00000c60| ac 44 06 19 13 52 45 49 | 57 41 70 72 69 6e 74 20 |.D...REI|WAprint |
|00000c70| 39 35 2f 30 37 2f 30 34 | 00 00 00 00 00 00 00 00 |95/07/04|........|
|00000c80| 00 00 00 04 00 01 00 01 | 00 00 00 48 00 09 4d 6f |........|...H..Mo|
|00000c90| 6e 61 63 6f 00 30 ff c8 | 2d 0a 00 08 a1 9a 00 00 |naco.0..|-.......|
|00000ca0| 02 5b 01 90 02 4d 34 d4 | 02 5a 02 5a 00 00 00 06 |.[...M4.|.Z.Z....|
|00000cb0| 00 04 00 29 00 1d 02 30 | 02 9d 00 29 00 1d 02 30 |...)...0|...)...0|
|00000cc0| 02 9d af 68 72 82 00 00 | 00 00 00 00 00 00 00 00 |...hr...|........|
|00000cd0| 00 48 01 00 00 00 01 00 | 00 00 01 54 00 00 00 54 |.H......|...T...T|
|00000ce0| 00 00 00 46 02 4d 38 78 | 28 c4 00 00 00 1c 00 46 |...F.M8x|(......F|
|00000cf0| 00 01 4d 57 42 42 00 00 | 00 12 4d 50 53 52 00 00 |..MWBB..|..MPSR..|
|00000d00| 00 1e 03 f0 ff ff 00 00 | 00 00 00 00 00 00 03 ed |........|........|
|00000d10| ff ff 00 00 00 08 02 4d | 34 d0 00 00 00 00 00 00 |.......M|4.......|
|00000d20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+